package com.example.cash.craft.pojo.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "修改类别参数Class")
public class CategoryUpdateParam implements Serializable {

    @Schema(description = "类别图标", example = "http://example.com/icon.png", requiredMode = Schema.RequiredMode.REQUIRED)
    private String icon;

    @Schema(description = "类别名称", example = "电脑整机", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

}
